﻿using Admin.CommonLib.Models.Organization;
using Swimj.CommonLib.Base;
using Swimj.Core.DependencyInjection;

namespace Admin.ApplicationLib.Services
{
    public interface IOrganizationService : IScopedDependency
    {
        Task<Result<IList<OrganizationInfoResponseDto>>> QueryOrganizationsAsync(OrganizationSearchRequestDto model);

        Task<PaginatedResult<OrganizationInfoResponseDto>> QueryOrganizationsByPageAsync(OrganizationSearchRequestDto model);

        Task<Result<OrganizationInfoResponseDto>> CreateOrganization(OrganizationEditRequestDto model);
    }
}